package com.zst.dollars.entity.connection;

import com.alibaba.fastjson.JSONObject;
import com.zst.dollars.entity.AbstractResponseMessage;
import com.zst.dollars.entity.Message;
import com.zst.dollars.entity.MessageType;
import io.netty.buffer.ByteBuf;

import java.nio.charset.StandardCharsets;

public class ServerConnectResultMessage extends AbstractResponseMessage {
    private String clientToken;

    public ServerConnectResultMessage(String clientToken){
        this.setMessageType(MessageType.SERVER_CONNECT_RESULT.getType());
        this.clientToken = clientToken;
    }

    public String getClientToken() {
        return clientToken;
    }

    public void setClientToken(String clientToken) {
        this.clientToken = clientToken;
    }
}
